projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf469ee
)
button: Stop setting state flags on the style context for drawing
author
Rui Matos
<tiagomatos@gmail.com>
Thu, 15 Dec 2011 01:35:48 +0000
(
01:35
+0000)
committer
Rui Matos
<tiagomatos@gmail.com>
Mon, 19 Dec 2011 19:21:15 +0000
(19:21 +0000)
gtk/gtkbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkbutton.c
b/gtk/gtkbutton.c
index a4f8acf2d3c0e463f01431cd1f2dd127e3454d58..080cbb7cd7d1da257e61afca86fd15b9513912f8 100644
(file)
--- a/
gtk/gtkbutton.c
+++ b/
gtk/gtkbutton.c
@@
-1576,7
+1576,6
@@
_gtk_button_paint (GtkButton *button,
context = gtk_widget_get_style_context (widget);
gtk_style_context_save (context);
- gtk_style_context_set_state (context, state);
gtk_button_get_props (button, &default_border, &default_outside_border, NULL, NULL, &interior_focus);
gtk_style_context_get_style (context,